
body{
  background-color: rgb(112, 112, 112);
}


section {
  margin: 0 auto;
}

.first {
  background: #d2d2d2;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin-top: 25px;
}

.mainp {
  background: #c1c1c1;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  max-width: 820px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.next {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  padding-top: 4px;
}

.next a {
  background: #f9f9f9;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

p {
font-family: 'Comic Sans MS', cursive, sans-serif;
}

.left, 
.right {
  background: #43e771;
  color: #00647d;
  border: none;
  border-radius: 5px;
  width: 100px;
  height: 27px;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left{
  margin-right: 10px;
}

.right{
  margin-left: 10px;
}

.left:hover, 
.right:hover {
    transform: scale(1.1);
}

.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: none;
  color: #00647d;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 32px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: white;
  font-size: 1em;
  user-select: none;
  animation-name: fall;
  animation-timing-function: linear;
}
#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}
.back-button:hover {
  transform: scale(1.2);
}
@media screen and (max-width: 768px) {
  .mainp {
      flex-direction: column;
      padding: 10px;
  }

  .mainp img {
      width: 100%;
      margin: 15px 0;
  }

  .left, 
  .right {
      width: 100%;
      max-width: 100px;
      margin: 5px auto;
  }

  .first {
      padding: 15px;
      margin: 15px;
  }

  p {
      font-size: 16px;
      line-height: 1.5;
  }
}

@media screen and (max-width: 384px) {
  .mainp {
      flex-direction: column;
      padding: 10px;
  }

  .mainp img {
      width: 100%;
      margin: 15px 0;
  }

  .left, 
  .right {
      width: 50%;
      max-width: 100px;
      margin: 5px auto;
      font-size: 16px;
  }

  .first {
      padding: 15px;
      margin: 15px;
  }

  p {
      font-size: 12px;
      line-height: 1.5;
  }
  
  .back-button{
    width:20px;
    height: 20px;
    font-size: 24px;
  }
}